package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.p2p.base.domain.RealAuth;
import cn.wolfcode.p2p.base.query.BidRequestQuery;
import cn.wolfcode.p2p.business.domain.BidRequest;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface BidRequestMapper {
    int insert(BidRequest record);
    BidRequest selectByPrimaryKey(Long id);
    int updateByPrimaryKey(BidRequest record);

        int selectCount(BidRequestQuery qo);

    List<BidRequest> query(BidRequestQuery qo);

        List<BidRequest> selectPublishBidRequests(Integer state);

}